package com.geese.module.business.service;

import com.geese.common.entity.Business;
import com.geese.common.vo.Page;
import com.geese.module.business.vo.BusinessVO;

import java.util.List;
import java.util.Map;

/**
 * Created by huweiwei on 2017/3/17.
 */
public interface IBusinessService {

    Map<String,Object> selectBusinessList(Page page, BusinessVO businessVO);

    void updateLock(int id);

    void updateAudit(Business id);

    void updateLockAll(List<Integer> ids);

    void updateAuditAll(List<Integer> ids);

    void updateBusiness(Business business);

    void addBusiness(Business business);

    Map<String, Object> selectAll();

    void doReset(Integer id);
}
